inital_health = 500
monster1 = {:health => inital_health}
monster2 = {:health => inital_health}

(1..5).each do |i|
	puts "ROUND #{i}:"
	monster1_attack = rand(100)
	puts "monster 1 attacks monster2 with #{monster1_attack} damage"
	monster2[:health] -= monster1_attack
	puts "monster2's health is now #{monster2[:health]}/#{inital_health}"
	monster2_attack = rand(100)
	puts "monster 2 attacks monster1 with #{monster2_attack} damage"
	monster1[:health] -= monster2_attack
	puts "monster1's health is now #{monster1[:health]}/#{inital_health}"
end

puts monster1[:health] > monster2[:health] ?  "monster1 is the winner!" : "monster2 is the winner!"